import{createRouter,createWebHistory}from'vue-router'
let router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/show'
    },
    {
      path:'/add',
      component:()=>import("../views/Add.vue")
    },
    {
      path:'/show',
      component:()=>import("../views/Show.vue")
    },
    {
      path:'/update',
      component:()=>import("../views/Update.vue")
    }
    
    

  ]
})
export default router